package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.ApplyHospital;

public interface ApplyHospitalDao extends CrudRepository<ApplyHospital, Integer>{

	//修改通知单的状态为1（已同意）
	//@Query("update  ApplyHospital a  set a.applyState=?1 where a.applyId=?2 ")
	//public void updateApplyStatus(Integer applysatus,Integer applyid);
}
